package com.wing.res.model.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-20 15:27
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ResProTaskAddForm {

    //主键id 修改需要
    private String id;

    //来源
    private String source;

    //客户id
    private Long customerId;

    //类别
    private String cusProductCategory;
    //外部产品
    private Long extProductId;
    //销售订单id
    private Long orderProId;
    //客户SKU名称
    private String cusProductName;
    private String cusProductSpec;
    //客户计量单位
    private Long cusProUnitId;
    private String cusProUnitName;
    private Integer cusProductCount;
    private LocalDateTime planGivenTime;

    //客户订单
    private Long cusProductOrder;

    //客户SKU料号
    private Long cusSkuCode;

    //附件地址
    private String attachmentPdf;

    //附件名称 - 图号
    private String fileName;

    //包装说明
    private String remark;

    //工艺说明
    private String processDescription;

    private Long productTypeId;
    private String productNature;
    private String assemblyNature;
    private String isUseOrAdd;
    //新添加的物料号 isUseOrAdd = 2 才有
    private String inSkuCode;
    //内部物料号 isUseOrAdd = 2 才有
    private Long inSkuCodeHave;
    private String inSkuName;
    private String inSkuSpec;
    private String inSkuUnit;
    private String inUnit;
    private Long inUnitId;
    private Integer inUnitCount;
    private String inRemark;

    private String mainCalWay;
    private Long mainUnitId;
    private String mainUnitRate;

    private String subCalWay;
    private Long subUnitId;
    private String subUnitRate;
    //成本核算
    private String costCheckType;
    //是否质检是否质检
    private String checkStatus;
    //是否料箱管理
    private String boxStatus;

    /**
     * 检测项目
     */
    private List<TestItemData> testItemData;

}
